import request from './request'

export const getProducts = (type) => {
    return request({
        method: 'GET',
        url: `/products/${type}`
    })
}